<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'list.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="<%=basePath%>css/top.css">
	<link rel="stylesheet" type="text/css" href="<%=basePath%>css/main.css">
	<style type="text/css">
		body{
			background:url(./images/beijing.jpg);
		}
		list_main{
			font-size: 42px;
		    padding-top: 26px;
		    padding-left: 31px;
		}
		a{
		    text-decoration: none;
		    color:black;
		}
		.sc{
		    font-size: 32px;
		    color: black;
		    text-align: center;
		    border: 1px solid red;
		    border: 1px solid #cfabab;
		    display: block;
		    width: 107px;
		    box-shadow: inset 0px 0px 2px #fff;
		    -o-box-shadow: inset 0px 0px 2px #fff;
		    -webkit-box-shadow: inset 0px 0px 2px #fff;
		    -moz-box-shadow: inset 0px 0px 2px #fff;
		    float: right;
		    position: relative;
		    left: -19px;
		    top: 8px;
		    height: 62px;
		    line-height: 62px;			
		}
		.sc:active{
				box-shadow: inset 0px 0px 30px red;
				-o-box-shadow: inset 0px 0px 3px red;
				-webkit-box-shadow: inset 0px 0px 3px red;
				-moz-box-shadow: inset 0px 0px 30px red;				
			}
			.ys{
				background-color: #c69e6e;
    			text-shadow: 1px 1px 1px #fff;
    			background: -webkit-linear-gradient(#FF9800, #fefdfd);	
			}
			.ys:hover{
				background: -webkit-linear-gradient(#fefdfd, #FF9800);
			}
			.mz{
				background: #eee5da;
    			width: 703px;
    			position: relative;
			    padding-left: 15px;
			    font-size: 35px;
			    display: block;
			    left: 31px;
			    margin-top: 25px;
			    line-height:78px;
			    height: 78px;
			}
			.out{
				    border: 1px solid;
				    height: 80px;
				    line-height: 80px;
				    position: absolute;
				    bottom: 0px;
				    width: 100%;
				    text-align: center;
				    /* color: white; */
				    background: #6c5e54;
			}
			.out a{
				color: #eee5da;
    			font-size: 35px;
			}
	</style>
  </head>
  
  <body>

		<jsp:include page="top.jsp"></jsp:include>
	   <div class="list_main">
	   <!-- 
	   		<tr>
	   			<td>文件名</td>
	   			<td>操作</td>
	   		</tr>	
	   		  
	   
	   
	   		<td><a class="sc ys" href="delbq?bqname=${f.name } ">删除</a></td>
	    -->
	
	   		<c:forEach items="${files}" var="f">
			   			<div class="mz">
			   				<a href="readerfile?bqname=${f.name }">${f.name }</a>
			   				<a class="sc ys" href="delbq?bqname=${f.name } ">删除</a>
			   			</div>		   			
	   		</c:forEach>
	   </div>
	   <div class="out">
	   		<a>退出登录</a>
	   </div>
  </body>
</html>
